This repository was archived by the owner on Mar 20, 2026. It is now read-only.
Repository navigation
Readiness Endpoint support - #2183
Merged
Merged
Conversation
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
dvaldivia
requested review from
allanrogerr,
cniackz,
harshavardhana and
pjuarezd
June 25, 2024 18:34
cniackz
previously approved these changes
Jun 25, 2024
Contributor
|
gofumpt it please |
Member
|
Linting is complaining |
cesnietor
suggested changes
Jun 25, 2024
Contributor
There was a problem hiding this comment.
evel=warning msg="[linters_context] running gomodguard failed: unable to parse module file go.mod: go.mod:3: invalid go version '1.22.0': must match format 1.23\ngo.mod:5: unknown directive: toolchain: if you are not using go modules it is suggested to disable this linter"
Collaborator
Author
|
@cesnietor I don't think that is an error, it's simply a warning |
Member
|
Sidecar is still complaining on the import |
Collaborator
Author
|
all lint problems taken care of @cesnietor @pjuarezd |
cesnietor
previously approved these changes
Jun 25, 2024
cesnietor
reviewed
Jun 25, 2024
Co-authored-by: Cesar N. <11819101+cesnietor@users.noreply.github.com>
10 of 13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a readiness endpoint for the MinIO Tenant via the sidecar container. This endpoint is used to check
if the MinIO Tenant is ready to serve requests. The readiness endpoint is exposed at the
/readypath.The intention is to prevent kubernetes from routing traffic to a MinIO pod if it's not ready, while allowing MinIO pods
to talk to each other via the headless service with the
publishNotReadyflag set totrue.If MinIO returns
403status, we deem that MinIO ready to receive trafficThis also removes
MINIO_OPERATOR_VERSIONto prevent rolling restarts on operator upgradesWith this change pods that are not "online" should not shown as ready